const mongoose = require('mongoose')

const recordSchema = new mongoose.Schema({
  username: String,
  searchHistory: Array
})

module.exports = mongoose.model('Record', recordSchema)
